package demo1;

public class Dog extends Animal{
    public Dog(String name,int age) {
        super(name,age);
    }

    @Override
   public Dog eat() {
        System.out.println(this.name+"在吃狗粮");
        return null;

    }
}
